<?php


namespace App\Common\statement;


class ResponseStatement
{
    /**
     * 请求成功
     */
    const HTTP_SUCCESS = 200;

    const payOk = 201;

    const HTTP_NO_DATA = 204;

    /**
     * 请求失败
     */
    const HTTP_ERROR   = 400;



    /**
     * 登录过期
     */
    const TOKEN_TIME_OUT    = 401;

    /**
     * 路由错误
     */
    const NOT_FOUND = 404;

    public static $codeMessage = [
        200    => '请求成功',
        201    => '支付成功',
        204    => '无数据',
        205    => '参数错误',
        400    => '请求失败',
        401    => '登录过期',
        404    => '路由错误',
    ];


}